12#ifndef ROC_AUDIO_RESAMPLER_READER_H_
13#define ROC_AUDIO_RESAMPLER_READER_H_
72 const size_t frame_size_;
Resamples audio stream with non-integer dynamically changing factor.
ResamplerReader(IReader &reader, core::BufferPool< sample_t > &buffer_pool, core::IAllocator &allocator, const ResamplerConfig &config, packet::channel_mask_t channels, size_t frame_size)
Initialize.
bool valid() const
Check if object is successfully constructed.
bool set_scaling(float)
Set new resample factor.
virtual void read(Frame &)
Read audio frame.
Resamples audio stream with non-integer dynamically changing factor.
Memory allocator interface.
Base class for non-copyable objects.
uint32_t channel_mask_t
Bitmask of channels present in audio packet.
Various units used in audio processing.
Various units used in packets.
Commonly used types and functions.